package com.liwq.cloudstudyprovider.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author : liwq
 * @version : 1.0
 * @date : 2022/7/5
 **/
@RestController
public class HelloController {

    @RequestMapping ("sayHello")
    @ResponseBody
    private String sayHello(String userName) {
        return "hello" + userName;
    }
}
